<template>
  <el-config-provider :locale="zhCn">
    <router-view></router-view>
  </el-config-provider>
</template>

<script setup>
import zhCn from 'element-plus/dist/locale/zh-cn.mjs';
import { useThemeStore } from '@/stores/theme.js';
const theme = useThemeStore();
theme.changeTheme();
theme.changeDrak();
</script>
